package guyubao.com.entity.vo.request;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.Email;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 重置邮箱
 * @author wxa
 */
@Data
@Schema(description = "重置邮箱")
public class ResetEmailVoRequest {
    @Length(min=1,max=20)
    String id;
    @Email
    @Length(min=4,max=100)
    String email;
    @Length(max=6,min=6)
    String code;
}
